<!doctype html>
<html style="height:100%;width:100%;">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>壹点西大</title>
    <meta name="description" content="壹点西大">
    <meta name="keywords" content="index">
    <link rel="alternate icon" type="image/png" href="${request.contextPath}/assets/i/favicon.png">
    <link rel="stylesheet" href="${request.contextPath}/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="${request.contextPath}/assets/css/search.css" />
</head>

<body>
    <div class="am-g" style="height:100%;width:100%;min-width: 1200px;">
		<#include "/common/nav.ftl"/>
        <div class="am-u-sm-10 main">
            <div class="am-container model">
                <div class="am-u-sm-12">
                    <form method="post" class="am-form am-form-inline am-g" action="${request.contextPath}/s">
                        <input type="hidden" name="page" value="0">
                        <div class="am-form-group am-u-lg-10">
                            <input type="text" class="am-form-field am-radius" name="k" placeholder="简单一点，更懂西大" value="">
                        </div>
                        <div class="am-form-group am-u-lg-2">
                            <button type="submit" class="am-btn am-btn-secondary">壹点西大</button>
                        </div>
                </div>
            </div>
            <#if tags??>
	            <#list tags as tag>
            <div class="am-container model">
                <h3 class="model-title">${tag.name}</h3>
                <hr />
                <ul class="am-avg-sm-4 am-thumbnails taglist">
                	<#if tag.links??>
                	<#list tag.links as link>
                    <li>
                        <img class="item-image" src="${link.icon}"></img>
                        <div class="item-text">
                            <span class="tagTitle"><a href="${link.url}">${link.name}</a></span>
                            <span class="am-kai">${link.description}</span>
                        </div>
                    </li>
                    </#list>
                   </#if>
                </ul>
            </div>	            
				</#list>
			</#if>

        </div>
    </div>

</body>

</html>
